#!/bin/bash
#ITMD536 Software Testing and Maintenance.
#Final project <group assignment>
#Author: Wanglei ID:A20479012
#This script will run the face recognition process, detect the face by input a photo, 
#calculate the feature value of the face, 
#and then compare it with the feature value recorded in the database to judge whether the face has been registered.
#$1 parameter is the file name of the photo to be recognition.
export LD_LIBRARY_PATH=/opt/FaceITMD/libs
./build/face -run images/$

#result description:
#If registered, print the name and registration time and output: result.png
#If no face is detected, print: "no face detect!"
#If a face is detected but the registration information is not matched, print "face unknown!"
